/***********************************************************************

 This file is part of its-c

 Copyright 2016 John H. Dulaney <jdulaney@fedoraproject.org>

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License as published
 by the Free Software Foundation; either version 3 of the License, or (at
 your option) any later version.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Affero General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, see https://  gnu.org/licenses or write
 to:
 Free Software Foundation, Inc.
 51 Franklin Street, Fifth Floor
 Boston, MA 02110-1301
 USA

 ddt.h -- Various definitions, name taken from original ITS source

**********************************************************************/


/* Start off with some error code definitions */

#define ENSDV  1   //  NO SUCH DEVICE
#define ENSIO  2   //  WRONG DIRECTION
#define ETMTR  3   //  TOO MANY TRANSLATIONS
#define ENSFL  4   //  FILE NOT FOUND
#define EFLDR  5   //  DIRECTORY FULL
#define EFLDV  6   //  DEVICE FULL
#define ENRDV  7   //  DEVICE NOT READY
#define ENADV  10  //  DEVICE NOT AVAILABLE
#define EBDFN  11  //  ILLEGAL FILE NAME
#define ENSMD  12  //  MODE NOT AVAILABLE
#define EEXFL  13  //  FILE ALREADY EXISTS
#define EBDCH  14  //  BAD CHANNEL NUMBER
#define ETMRG  15  //  TOO MANY ARGUMENTS
#define ENAPK  16  //  PACK NOT MOUNTED
#define ENADR  17  //  DIRECTORY NOT AVAIL
#define ENSDR  20  //  NON-EXISTENT DIRECTORY
#define ELCDV  21  //  LOCAL DEVICE ONLY
#define ESCO   22  //  SELF-CONTRADICTORY OPEN
#define ENAFL  23  //  FILE LOCKED
#define ETMDR  24  //  M.F.D. FULL
#define EMCHN  25  //  DEVICE NOT ASSIGNABLE TO THIS PROCESSOR
#define ERODV  26  //  DEVICE WRITE-LOCKED
#define ETMLK  27  //  LINK DEPTH EXCEEDED
#define ETFRG  30  //  TOO FEW ARGUMENTS
#define EROJB  31  //  CAN'T MODIFY JOB
#define EROPG  32  //  CAN'T GET THAT ACCESS TO PAGE
#define EBDRG  33  //  MEANINGLESS ARGS
#define EBDDV  34  //  WRONG TYPE DEVICE
#define ENSJB  35  //  NO SUCH JOB
#define EBOJ   36  //  VALID CLEAR OR STORED SET
#define ENACR  37  //  NO CORE AVAILABLE
#define ETOP   40  //  NOT TOP LEVEL
#define ENAPP  41  //  OTHER END OF PIPELINE GONE OR NOT OPEN
#define ENAJB  42  //  JOB GONE OR GOING AWAY
#define ENSCL  43  //  ILLEGAL SYSTEM CALL NAME
#define ENSCH  44  //  CHANNEL NOT OPEN
#define ENRBF  45  //  INPUT BUFFER EMPTY OR OUTPUT BUFFER FULL
#define EBDFL  46  //  UNRECOGNIZABLE FILE


